//
//  TradeService.h
//  BTCoin
//
//  Created by Robin on 16/03/2018.
//  Copyright © 2018 Robin. All rights reserved.
//

#import "BaseService.h"

@interface TradeService : BaseService

DEFINE_SINGLETON_FOR_HEADER(TradeService)

/**资金账号*/
- (void)accountbank:(successResponseBlock)successBlock fail:(failResponseBlock)failBlock;

/**提现管理*/
- (void)accountcoin:(NSDictionary *)parDict success:(successResponseBlock)successBlock fail:(failResponseBlock)failBlock;

/**实名认证*/
- (void)realCertification:(successResponseBlock)successBlock fail:(failResponseBlock)failBlock;

/**推广记录*/
- (void)mydivide:(NSDictionary *)parDict success:(successResponseBlock)successBlock fail:(failResponseBlock)failBlock;

/**人民币充值*/
- (void)rechargeCny:(NSDictionary *)parDict success:(successResponseBlock)successBlock fail:(failResponseBlock)failBlock;

/**人民币提现*/
- (void)withdrawCny:(NSDictionary *)parDict success:(successResponseBlock)successBlock fail:(failResponseBlock)failBlock;

/**充值记录*/
- (void)accountRecord:(NSDictionary *)parDict success:(successResponseBlock)successBlock fail:(failResponseBlock)failBlock;

/**充值记录*/
- (void)refTenbody:(successResponseBlock)successBlock fail:(failResponseBlock)failBlock;

/**资产记录*/
- (void)assetsrecord:(successResponseBlock)successBlock fail:(failResponseBlock)failBlock;

/**交易中心*/
- (void)tradeCenter:(NSInteger)type success:(successResponseBlock)successBlock fail:(failResponseBlock)failBlock;

/**买入/卖出*/
- (void)tradeCoin:(NSDictionary *)parDict success:(successResponseBlock)successBlock fail:(failResponseBlock)failBlock;

/**买入比特币*/
- (void)buyBtcSubmit:(NSDictionary *)parDict success:(successResponseBlock)successBlock fail:(failResponseBlock)failBlock;

/**卖出比特币*/
- (void)sellBtcSubmit:(NSDictionary *)parDict success:(successResponseBlock)successBlock fail:(failResponseBlock)failBlock;

/**委托管理、交易记录*/
- (void)entrust:(NSDictionary *)parDict success:(successResponseBlock)successBlock fail:(failResponseBlock)failBlock;

/**取消交易*/
- (void)cancelEntrust:(NSDictionary *)parDict success:(successResponseBlock)successBlock fail:(failResponseBlock)failBlock;

/**查看成交详细*/
- (void)entrustLog:(NSDictionary *)parDict success:(successResponseBlock)successBlock fail:(failResponseBlock)failBlock;

/**最近成交记录*/
- (void)entrustInfo:(NSDictionary *)parDict success:(successResponseBlock)successBlock fail:(failResponseBlock)failBlock;

/**获取买卖7档数据*/
- (void)realorder:(NSDictionary *)parDict success:(successResponseBlock)successBlock fail:(failResponseBlock)failBlock;
@end
